﻿@model HotDealD2.Models.ModelView.UpdateAccountView
@{
    Layout = "../Shared/BusinessLayout.cshtml";
}

<html xmlns="http://www.w3.org/1999/xhtml" lang="vn">
<head>
    <title>Sửa thông tin người dùng - HotDeal.vn: Cùng mua chung, mua theo nhóm, mua deal giá rẻ</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="vn" />
    <meta name="description" content="Cùng mua chung theo nhóm, mua các deal sản phẩm và dịch vụ giảm giá, rẻ tới 90%: mua sắm, du lịch, làm đẹp, ăn uống, nhà hàng, thời trang, spa tại HotDeal.vn" />
    <meta name="keywords" content="hotdeal, hotdeals, hot deal, mua hàng theo nhóm,mua chung, nhóm mua, cùng mua, deal, deals, giá tốt, giá rẻ, giảm giá, khuyến mại, ưu đãi, Group Buy, daily deals" />
    <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />
    <meta name="robots" content="noindex" />
    <link type="text/css" href="../../../../Content/BusinessSite/stylesheets/jquery-ui.css" rel="stylesheet"/>
    <link type="text/css" href="../../../../Content/BusinessSite/stylesheets/IndexBusiness.css" rel="stylesheet"/>
    <script type="text/javascript" src="../../../../Content/BusinessSite/stylesheets/jquery-1.5.1.js"></script>
    <script type="text/javascript" src="../../../../Content/BusinessSite/stylesheets/jquery.ui.core.js"></script>
    <script type="text/javascript" src="../../../../Content/BusinessSite/stylesheets/jquery.ui.datepicker.js"></script>
    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/EditorHookup.js")" type="text/javascript"></script>
</head>
<body class="c-profiles m-update cm-profiles-update">
@using (Html.BeginForm())
{
    <div class="content_general">
        <h1>Thông tin cá nhân</h1>
        <p class="mandatory-fields">Thông tin có <span class="required">*</span> là bắt buộc nhập, cần phải nhập.</p>
        <form name="profile_form" action="Business" method="post">
            <input id="selected_section" type="hidden" value="general" name="selected_section"/>
            <input id="default_card_id" type="hidden" value="" name="default_cc"/>
            <input type="hidden" name="profile_id" value="533796" />
            <div class="border">
                <div class="subheaders-group">
                    <br />
                    <h2 class="subheader">Thông tin tài khoản</h2>
                    <div class="form-field">
                        @*<label for="email" class="cm-required cm-email cm-trim">Username:</label>*@
                        @Html.LabelFor(m => m.UserName)
                        @Html.DisplayTextFor(m => m.UserName)
                    </div>

                    <div class="form-field">
                        @*<label for="email" class="cm-required cm-email cm-trim">Email:</label>
                        <input type="text" id="email" name="user_data[email]" size="32" maxlength="128" value="baohavan@gmail.com" class="input-text" />
                        <label style="color:Red">*</label>*@
                        @Html.LabelFor(m => m.Email)
                        @Html.DisplayTextFor(m => m.Email)
                    </div>
                    
                    <br />
                    <h2 class="subheader">Thông tin doanh nghiệp</h2>			
                    <div class="form-field">
                        @*<label for="elm_15" class="cm-profile-field cm-required ">Tên doanh nghiệp:</label>
                        <input type="text" id="elm_15" name="user_data[s_firstname]" size="32" value="ha van bao" class="input-text cm-skip-avail-switch"  onblur="clear_space('elm_15');"/>*@
                        @Html.LabelFor( m => m.Fullname)
                        @Html.TextBoxFor(m => m.Fullname)
                        @Html.ValidationMessageFor(m => m.Fullname)
                        <label style="color:Red">*</label>
                    </div>
                    <div class="form-field">
                        @*<label for="elm_25" class="cm-profile-field  cm-state cm-location-shipping">Tỉnh/Thành phố:</label>*@
                        @Html.LabelFor(m => m.SelectedCity)
                        @Html.DropDownListFor(m => m.SelectedCity, Model.CityList, new { @class = "input-text" })
                    </div>
                    <div class="form-field">
                        @*<label for="elm_37" class="cm-profile-field  cm-district cm-location-shipping">Quận/Huyện:</label>*@
                        @Html.LabelFor(m => m.SelectedDistrict)
                        @Html.DropDownListFor(m => m.SelectedDistrict, Model.DistrictList, new { @class = "input-text" })
                        @Html.ValidationMessageFor(m => m.DistrictList)
                    </div>
                    <div class="form-field">
                        @*<label for="elm_39" class="cm-profile-field  cm-ward cm-location-shipping">Phường/Xã:</label>*@
                        @Html.LabelFor(m => m.Town)
                        @Html.TextBoxFor(m => m.Town)
                        @Html.ValidationMessageFor(m => m.Town)
                    </div>
                    <div class="form-field">
                        @*<label for="elm_21" class="cm-profile-field  ">Đường:</label>
                        <input type="text" id="elm_21" name="user_data[s_address_2]" size="32" value="Thành Thái" class="input-text cm-skip-avail-switch"  onblur="clear_space('elm_21');"/>*@
                        @Html.LabelFor(m => m.Street)
                        @Html.TextBoxFor(m => m.Street)
                        @Html.ValidationMessageFor(m => m.Street)
                    </div>
                    @*<div class="form-field">
                        <label for="elm_41" class="cm-profile-field  ">Lầu:</label>
                        <input type="text" id="elm_41" name="user_data[s_address_note]" size="32" value="G403 CC Đào Duy Từ" class="input-text cm-skip-avail-switch"  onblur="clear_space('elm_41');"/>
                    </div>*@
                    <div class="form-field">
                        @*<label for="elm_19" class="cm-profile-field  ">Số nhà - Ngõ - Ngách:</label>
                        <input type="text" id="elm_19" name="user_data[s_address]" size="32" value="Hẻm 51" class="input-text cm-skip-avail-switch"  onblur="clear_space('elm_19');"/>*@
                        @Html.LabelFor(m => m.HouseNumber)
                        @Html.TextBoxFor(m => m.HouseNumber)
                        @Html.ValidationMessageFor(m => m.HouseNumber)
                    </div>
                    
                    <div class="form-field">
                        @*<label for="elm_31" class="cm-profile-field  ">Điện thoại:</label>
                        <input type="text" id="elm_31" name="user_data[s_phone]" size="32" value="0909936024" class="input-text cm-skip-avail-switch"  onblur="clear_space('elm_31');"/>*@
                        @Html.LabelFor(m => m.PhoneNumber)
                        @Html.TextBoxFor(m => m.PhoneNumber)
                        @Html.ValidationMessageFor(m => m.PhoneNumber)
                    </div>
                    <div class="buttons-container center" style="padding-left:140px;padding-top:20px">
                        <span id="wrap_save_profile_but"  class="button-submit"><input id="save_profile_but"  type="submit" name="dispatch[profiles.update.]"  value="Lưu" /></span>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <script type="text/javascript">
    //<![CDATA[
        var _gaq = _gaq || [];
        _gaq.push(["_setAccount", "UA-2029810-7"]);
        _gaq.push(["_trackPageview"]);

        (function () {
            var ga = document.createElement("script");
            ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
            ga.setAttribute("async", "true");
            document.documentElement.firstChild.appendChild(ga);
        })();
    //]]>
    </script>
    <script type="text/javascript">
        var rpxJsHost = (("https:" == document.location.protocol) ? "https://" : "http://static.");
        document.write(unescape("%3Cscript src='" + rpxJsHost + "rpxnow.com/js/lib/rpx.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
        RPXNOW.overlay = true;
        RPXNOW.language_preference = 'en';
    </script>
}
</body>
</html><!--WSS-->